package cn.wolfcode.common;

import cn.wolfcode.common.exception.BusinessException;
import cn.wolfcode.common.web.CommonCodeMsg;

public class CheckUtils {
    public static void notNull(Object obj) {
        if (obj == null) {
            throw new BusinessException(CommonCodeMsg.ILLEGAL_PARAMS);
        }
    }
}
